#include "Device.h"
#include <iostream>

using namespace std;

Device::Device()
{
	udn = "";
	descDocURL = "";
	friendlyName = "";
	presURL = "";
	advertTimeout = -1;
}

Device::~Device()
{

}

void Device::setType(string type)
{
	this->type = type;
}

void Device::setUDN(string udn)
{
	this->udn = udn;
}

void Device::setDescDocURL(string descDocURL)
{
	this->descDocURL = descDocURL;
}

void Device::setFriendlyName(string friendlyName)
{
	this->friendlyName = friendlyName;
}

void Device::setPresURL(string presURL)
{
	this->presURL = presURL;
}

void Device::setAdvertTimeout(int advertTimeout)
{
	this->advertTimeout = advertTimeout;
}

string Device::getUDN()
{
	return udn;
}

string Device::getDescDocURL()
{
	return descDocURL;
}

string Device::getFriendlyName()
{
	return friendlyName;
}

string Device::getPresURL()
{
	return presURL;
}

int Device::getAdvertTimeout()
{
	return advertTimeout;
}
